using Rubikev.Common.DependencyInjection;
using StructureMap.Configuration.DSL;

namespace Rubikev.StructureMap
{
   /// <summary>
   /// Sets up the StructureMap-specific registrations, ie <see cref="ITypeRegister"/> and <see cref="ITypeProvider"/>
   /// </summary>
   public class StuctureMapRegister : Registry
   {
      public StuctureMapRegister()
      {
         For<ITypeRegister>().Singleton().Use<TypeRegister>();
         For<ITypeProvider>().Singleton().Use<TypeProvider>();
      }
   }
}